
Extract Intan Data
--------------------
Creating empty HDF5 store with raw data groups
Writing RN17_4taste_preCTA.h5 ...Done!

Creating empty arrays in hdf5 store for raw data...Done!
Extracting Intan data to HDF5 Store:
 h5 file: /data/Katz_Data/Stk11_Project/RN17/RN17_4taste_preCTA_190826_131412/RN17_4taste_preCTA.h5

Reading time data...
Writing time data...Done!

----------
Extracting Digital Signal Data
----------
Reading digitalin data from board-DIN-00.dat...Done!
Writing data from ditigal in channel 0 to dig_in_0...Done!
Reading digitalin data from board-DIN-01.dat...Done!
Writing data from ditigal in channel 1 to dig_in_1...Done!
Reading digitalin data from board-DIN-02.dat...Done!
Writing data from ditigal in channel 2 to dig_in_2...Done!
Reading digitalin data from board-DIN-03.dat...Done!
Writing data from ditigal in channel 3 to dig_in_3...Done!
Done! Elapsed Time: 4.60


----------
Extracting Amplifier Signal Data
----------
Reading data from amp-C-000.dat...Done!
Writing data from port C channel 0 to electrode0...Done!
Reading data from amp-C-001.dat...Done!
Writing data from port C channel 1 to electrode1...Done!
Reading data from amp-C-002.dat...Done!
Writing data from port C channel 2 to electrode2...Done!
Reading data from amp-C-003.dat...Done!
Writing data from port C channel 3 to electrode3...Done!
Reading data from amp-C-004.dat...Done!
Writing data from port C channel 4 to electrode4...Done!
Reading data from amp-C-005.dat...Done!
Writing data from port C channel 5 to electrode5...Done!
Reading data from amp-C-006.dat...Done!
Writing data from port C channel 6 to electrode6...Done!
Reading data from amp-C-007.dat...Done!
Writing data from port C channel 7 to electrode7...Done!
Reading data from amp-C-008.dat...Done!
Writing data from port C channel 8 to electrode8...Done!
Reading data from amp-C-009.dat...Done!
Writing data from port C channel 9 to electrode9...Done!
Reading data from amp-C-010.dat...Done!
Writing data from port C channel 10 to electrode10...Done!
Reading data from amp-C-011.dat...Done!
Writing data from port C channel 11 to electrode11...Done!
Reading data from amp-C-012.dat...Done!
Writing data from port C channel 12 to electrode12...Done!
Reading data from amp-C-013.dat...Done!
Writing data from port C channel 13 to electrode13...Done!
Reading data from amp-C-014.dat...Done!
Writing data from port C channel 14 to electrode14...Done!
Reading data from amp-C-015.dat...Done!
Writing data from port C channel 15 to electrode15...Done!
Reading data from amp-C-016.dat...Done!
Writing data from port C channel 16 to electrode16...Done!
Reading data from amp-C-017.dat...Done!
Writing data from port C channel 17 to electrode17...Done!
Reading data from amp-C-018.dat...Done!
Writing data from port C channel 18 to electrode18...Done!
Reading data from amp-C-019.dat...Done!
Writing data from port C channel 19 to electrode19...Done!
Reading data from amp-C-020.dat...Done!
Writing data from port C channel 20 to electrode20...Done!
Reading data from amp-C-021.dat...Done!
Writing data from port C channel 21 to electrode21...Done!
Reading data from amp-C-022.dat...Done!
Writing data from port C channel 22 to electrode22...Done!
Reading data from amp-C-023.dat...Done!
Writing data from port C channel 23 to electrode23...Done!
Reading data from amp-C-024.dat...Done!
Writing data from port C channel 24 to electrode24...Done!
Reading data from amp-C-025.dat...Done!
Writing data from port C channel 25 to electrode25...Done!
Reading data from amp-C-026.dat...Done!
Writing data from port C channel 26 to electrode26...Done!
Reading data from amp-C-027.dat...Done!
Writing data from port C channel 27 to electrode27...Done!
Reading data from amp-C-028.dat...Done!
Writing data from port C channel 28 to electrode28...Done!
Reading data from amp-C-029.dat...Done!
Writing data from port C channel 29 to electrode29...Done!
Reading data from amp-C-030.dat...Done!
Writing data from port C channel 30 to electrode30...Done!
Reading data from amp-C-031.dat...Done!
Writing data from port C channel 31 to electrode31...Done!
Done! Elapsed Time: 41.54

Writing electrode_map to /data/Katz_Data/Stk11_Project/RN17/RN17_4taste_preCTA_190826_131412/RN17_4taste_preCTA.h5...
Writing digital_input_map to /data/Katz_Data/Stk11_Project/RN17/RN17_4taste_preCTA_190826_131412/RN17_4taste_preCTA.h5...
Saved RN17_4taste_preCTA to /data/Katz_Data/Stk11_Project/RN17/RN17_4taste_preCTA_190826_131412/RN17_4taste_preCTA_dataset.p


Data Extraction Complete
--------------------

----------
Gathering Trial Data and Creating Table
----------
Generating trial list for digital inputs: 0, 1, 2, 3
Grabbing data for digital input 0...Done!
Grabbing data for digital input 1...Done!
Grabbing data for digital input 2...Done!
Grabbing data for digital input 3...Done!
Constructing DataFrame...Done!
Writing data to h5 file...Done!
Done! Elapsed Time: 2.72

No digital output data found
Saved RN17_4taste_preCTA to /data/Katz_Data/Stk11_Project/RN17/RN17_4taste_preCTA_190826_131412/RN17_4taste_preCTA_dataset.p

CAR Groups

Group 0	Group 1
-------	-------
0	8
1	9
2	10
3	11
4	12
5	13
6	14
7	15
24	16
25	17
26	18
27	19
28	20
29	21
30	22
31	23

----------
Common Average Referencing
----------
Common Average Referencing Electrodes:
0, 1, 2, 3, 4, 5, 6, 7, 24, 25, 26, 27, 28, 29, 30, 31
Computing common average...Done!
Storing common average signal...Done!
Storing referenced signals...Done!
Done! Elapsed Time: 46.23


----------
Common Average Referencing
----------
Common Average Referencing Electrodes:
8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23
Computing common average...Done!
Storing common average signal...Done!
Storing referenced signals...Done!
Done! Elapsed Time: 52.11


----------
Compressing and repacking h5 file
----------
Repacking /data/Katz_Data/Stk11_Project/RN17/RN17_4taste_preCTA_190826_131412/RN17_4taste_preCTA.h5 as /data/Katz_Data/Stk11_Project/RN17/RN17_4taste_preCTA_190826_131412/tmp.h5...
Removing old h5 file: /data/Katz_Data/Stk11_Project/RN17/RN17_4taste_preCTA_190826_131412/RN17_4taste_preCTA.h5
Renaming temporary file to /data/Katz_Data/Stk11_Project/RN17/RN17_4taste_preCTA_190826_131412/RN17_4taste_preCTA.h5
Done! Elapsed Time: 85.98

Saved RN17_4taste_preCTA to /data/Katz_Data/Stk11_Project/RN17/RN17_4taste_preCTA_190826_131412/RN17_4taste_preCTA_dataset.p


Running Spike Detection
-------------------
Parameters
file_dir             /data/Katz_Data/Stk11_Project/RN17/RN17_4taste_preCTA_190826_131412
data_quality         clean
sampling_rate        30000.0
clustering_params    
    Max Number of Clusters      7
    Max Number of Iterations    1000
    Convergence Criterion       0.001
    GMM random restarts         10
    
data_params          
    V_cutoff for disconnected headstage     1500
    Max rate of cutoff breach per second    0.2
    Max allowed seconds with a breach       10
    Max allowed breaches per second         20
    Intra-cluster waveform amp SD cutoff    3
    
bandpass_params      
    Lower freq cutoff    300
    Upper freq cutoff    3000
    
spike_snapshot       
    Time before spike (ms)    0.5
    Time after spike (ms)     1
    

Electrode    Result    Cutoff (s)
  0            1         2104
  1            1         2104
  2            1         2104
  3            1         2104
  4            1         2104
  5            1         2104
  6            1         2104
  7            1         2104
  8            1         2104
  9            1         2104
  10           1         2104
  11           1         2104
  12           1         2104
  13           1         2104
  14           1         2104
  15           1         2104
  16           1         2104
  17           1         2104
  18           1         2104
  19           1         2104
  20           1         2104
  21           1         2104
  22           1         2104
  23           1         2104
  24           1         2104
  25           1         2104
  26           1         2104
  27           1         2104
  28           1         2104
  29           1         2104
  30           1         2104
  31           1         2104
1 - Sucess
0 - No data or no spikes
-1 - Error
Writing electrode_map to /data/Katz_Data/Stk11_Project/RN17/RN17_4taste_preCTA_190826_131412/RN17_4taste_preCTA.h5...
Saved RN17_4taste_preCTA to /data/Katz_Data/Stk11_Project/RN17/RN17_4taste_preCTA_190826_131412/RN17_4taste_preCTA_dataset.p

Spike Detection Complete
------------------

----------
Clustering Cleanup
----------
Removing raw data from hdf5 store...Done!
Removing referenced data from hdf5 store...Done!

----------
Compressing and repacking h5 file
----------
Repacking /data/Katz_Data/Stk11_Project/RN17/RN17_4taste_preCTA_190826_131412/RN17_4taste_preCTA.h5 as /data/Katz_Data/Stk11_Project/RN17/RN17_4taste_preCTA_190826_131412/tmp.h5...
Removing old h5 file: /data/Katz_Data/Stk11_Project/RN17/RN17_4taste_preCTA_190826_131412/RN17_4taste_preCTA.h5
Renaming temporary file to /data/Katz_Data/Stk11_Project/RN17/RN17_4taste_preCTA_190826_131412/RN17_4taste_preCTA.h5
Done! Elapsed Time: 9.40

Done! Elapsed Time: 17.25

Saved RN17_4taste_preCTA to /data/Katz_Data/Stk11_Project/RN17/RN17_4taste_preCTA_190826_131412/RN17_4taste_preCTA_dataset.p


----------
Deleting unit 6 from dataset
----------

Renaming following units...
Renaming unit007 to unit006
Correcting names of plots and metrics...

----------
Deleting unit 5 from dataset
----------

Renaming following units...
Renaming unit006 to unit005
Finished deleting unit
----------
Saved RN17_4taste_preCTA to /data/Katz_Data/Stk11_Project/RN17/RN17_4taste_preCTA_190826_131412/RN17_4taste_preCTA_dataset.p


----------
Deleting unit 4 from dataset
----------

Renaming following units...
Renaming unit005 to unit004
Finished deleting unit
----------
Saved RN17_4taste_preCTA to /data/Katz_Data/Stk11_Project/RN17/RN17_4taste_preCTA_190826_131412/RN17_4taste_preCTA_dataset.p


----------
Deleting unit 3 from dataset
----------

Renaming following units...
Renaming unit004 to unit003
Finished deleting unit
----------
Saved RN17_4taste_preCTA to /data/Katz_Data/Stk11_Project/RN17/RN17_4taste_preCTA_190826_131412/RN17_4taste_preCTA_dataset.p


----------
Deleting unit 2 from dataset
----------

Renaming following units...
Renaming unit003 to unit002
Finished deleting unit
----------
Saved RN17_4taste_preCTA to /data/Katz_Data/Stk11_Project/RN17/RN17_4taste_preCTA_190826_131412/RN17_4taste_preCTA_dataset.p


----------
Deleting unit 6 from dataset
----------

Renaming following units...
Renaming unit007 to unit006
Finished deleting unit
----------
Saved RN17_4taste_preCTA to /data/Katz_Data/Stk11_Project/RN17/RN17_4taste_preCTA_190826_131412/RN17_4taste_preCTA_dataset.p


----------
Deleting unit 5 from dataset
----------

Renaming following units...
Renaming unit006 to unit005
Finished deleting unit
----------
Saved RN17_4taste_preCTA to /data/Katz_Data/Stk11_Project/RN17/RN17_4taste_preCTA_190826_131412/RN17_4taste_preCTA_dataset.p


----------
Deleting unit 4 from dataset
----------

Renaming following units...
Renaming unit005 to unit004
Finished deleting unit
----------
Saved RN17_4taste_preCTA to /data/Katz_Data/Stk11_Project/RN17/RN17_4taste_preCTA_190826_131412/RN17_4taste_preCTA_dataset.p


----------
Deleting unit 3 from dataset
----------

Renaming following units...
Renaming unit004 to unit003
Finished deleting unit
----------
Saved RN17_4taste_preCTA to /data/Katz_Data/Stk11_Project/RN17/RN17_4taste_preCTA_190826_131412/RN17_4taste_preCTA_dataset.p


----------
Deleting unit 3 from dataset
----------

Renaming following units...
Finished deleting unit
----------
Saved RN17_4taste_preCTA to /data/Katz_Data/Stk11_Project/RN17/RN17_4taste_preCTA_190826_131412/RN17_4taste_preCTA_dataset.p


----------
Deleting unit 2 from dataset
----------

Renaming following units...
Finished deleting unit
----------
Saved RN17_4taste_preCTA to /data/Katz_Data/Stk11_Project/RN17/RN17_4taste_preCTA_190826_131412/RN17_4taste_preCTA_dataset.p

Removing unit 46. Only 38 spikes.
Deleting Unit...
----------
Deleting unit 46 from dataset
----------

Renaming following units...
Finished deleting unit
----------
Saved RN17_4taste_preCTA to /data/Katz_Data/Stk11_Project/RN17/RN17_4taste_preCTA_190826_131412/RN17_4taste_preCTA_dataset.p


Removing unit 42. Only 87 spikes.
Deleting Unit...
----------
Deleting unit 42 from dataset
----------

Renaming following units...
Renaming unit043 to unit042
Renaming unit044 to unit043
Renaming unit045 to unit044
Finished deleting unit
----------
Saved RN17_4taste_preCTA to /data/Katz_Data/Stk11_Project/RN17/RN17_4taste_preCTA_190826_131412/RN17_4taste_preCTA_dataset.p


Removing unit 40. Only 7 spikes.
Deleting Unit...
----------
Deleting unit 40 from dataset
----------

Renaming following units...
Renaming unit041 to unit040
Renaming unit042 to unit041
Renaming unit043 to unit042
Renaming unit044 to unit043
Finished deleting unit
----------
Saved RN17_4taste_preCTA to /data/Katz_Data/Stk11_Project/RN17/RN17_4taste_preCTA_190826_131412/RN17_4taste_preCTA_dataset.p


Removing unit 39. Only 30 spikes.
Deleting Unit...
----------
Deleting unit 39 from dataset
----------

Renaming following units...
Renaming unit040 to unit039
Renaming unit041 to unit040
Renaming unit042 to unit041
Renaming unit043 to unit042
Finished deleting unit
----------
Saved RN17_4taste_preCTA to /data/Katz_Data/Stk11_Project/RN17/RN17_4taste_preCTA_190826_131412/RN17_4taste_preCTA_dataset.p


Removing unit 38. Only 1 spikes.
Deleting Unit...
----------
Deleting unit 38 from dataset
----------

Renaming following units...
Renaming unit039 to unit038
Renaming unit040 to unit039
Renaming unit041 to unit040
Renaming unit042 to unit041
Finished deleting unit
----------
Saved RN17_4taste_preCTA to /data/Katz_Data/Stk11_Project/RN17/RN17_4taste_preCTA_190826_131412/RN17_4taste_preCTA_dataset.p


Removing unit 37. Only 61 spikes.
Deleting Unit...
----------
Deleting unit 37 from dataset
----------

Renaming following units...
Renaming unit038 to unit037
Renaming unit039 to unit038
Renaming unit040 to unit039
Renaming unit041 to unit040
Finished deleting unit
----------
Saved RN17_4taste_preCTA to /data/Katz_Data/Stk11_Project/RN17/RN17_4taste_preCTA_190826_131412/RN17_4taste_preCTA_dataset.p


Removing unit 36. Only 1 spikes.
Deleting Unit...
----------
Deleting unit 36 from dataset
----------

Renaming following units...
Renaming unit037 to unit036
Renaming unit038 to unit037
Renaming unit039 to unit038
Renaming unit040 to unit039
Finished deleting unit
----------
Saved RN17_4taste_preCTA to /data/Katz_Data/Stk11_Project/RN17/RN17_4taste_preCTA_190826_131412/RN17_4taste_preCTA_dataset.p


Removing unit 34. Only 15 spikes.
Deleting Unit...
----------
Deleting unit 34 from dataset
----------

Renaming following units...
Renaming unit035 to unit034
Renaming unit036 to unit035
Renaming unit037 to unit036
Renaming unit038 to unit037
Renaming unit039 to unit038
Finished deleting unit
----------
Saved RN17_4taste_preCTA to /data/Katz_Data/Stk11_Project/RN17/RN17_4taste_preCTA_190826_131412/RN17_4taste_preCTA_dataset.p


Removing unit 33. Only 16 spikes.
Deleting Unit...
----------
Deleting unit 33 from dataset
----------

Renaming following units...
Renaming unit034 to unit033
Renaming unit035 to unit034
Renaming unit036 to unit035
Renaming unit037 to unit036
Renaming unit038 to unit037
Finished deleting unit
----------
Saved RN17_4taste_preCTA to /data/Katz_Data/Stk11_Project/RN17/RN17_4taste_preCTA_190826_131412/RN17_4taste_preCTA_dataset.p


Removing unit 32. Only 0 spikes.
Deleting Unit...
----------
Deleting unit 32 from dataset
----------

Renaming following units...
Renaming unit033 to unit032
Renaming unit034 to unit033
Renaming unit035 to unit034
Renaming unit036 to unit035
Renaming unit037 to unit036
Finished deleting unit
----------
Saved RN17_4taste_preCTA to /data/Katz_Data/Stk11_Project/RN17/RN17_4taste_preCTA_190826_131412/RN17_4taste_preCTA_dataset.p


Removing unit 31. Only 7 spikes.
Deleting Unit...
----------
Deleting unit 31 from dataset
----------

Renaming following units...
Renaming unit032 to unit031
Renaming unit033 to unit032
Renaming unit034 to unit033
Renaming unit035 to unit034
Renaming unit036 to unit035
Finished deleting unit
----------
Saved RN17_4taste_preCTA to /data/Katz_Data/Stk11_Project/RN17/RN17_4taste_preCTA_190826_131412/RN17_4taste_preCTA_dataset.p


Removing unit 30. Only 0 spikes.
Deleting Unit...
----------
Deleting unit 30 from dataset
----------

Renaming following units...
Renaming unit031 to unit030
Renaming unit032 to unit031
Renaming unit033 to unit032
Renaming unit034 to unit033
Renaming unit035 to unit034
Finished deleting unit
----------
Saved RN17_4taste_preCTA to /data/Katz_Data/Stk11_Project/RN17/RN17_4taste_preCTA_190826_131412/RN17_4taste_preCTA_dataset.p


Removing unit 29. Only 43 spikes.
Deleting Unit...
----------
Deleting unit 29 from dataset
----------

Renaming following units...
Renaming unit030 to unit029
Renaming unit031 to unit030
Renaming unit032 to unit031
Renaming unit033 to unit032
Renaming unit034 to unit033
Finished deleting unit
----------
Saved RN17_4taste_preCTA to /data/Katz_Data/Stk11_Project/RN17/RN17_4taste_preCTA_190826_131412/RN17_4taste_preCTA_dataset.p


Removing unit 27. Only 20 spikes.
Deleting Unit...
----------
Deleting unit 27 from dataset
----------

Renaming following units...
Renaming unit028 to unit027
Renaming unit029 to unit028
Renaming unit030 to unit029
Renaming unit031 to unit030
Renaming unit032 to unit031
Renaming unit033 to unit032
Finished deleting unit
----------
Saved RN17_4taste_preCTA to /data/Katz_Data/Stk11_Project/RN17/RN17_4taste_preCTA_190826_131412/RN17_4taste_preCTA_dataset.p


Removing unit 26. Only 14 spikes.
Deleting Unit...
----------
Deleting unit 26 from dataset
----------

Renaming following units...
Renaming unit027 to unit026
Renaming unit028 to unit027
Renaming unit029 to unit028
Renaming unit030 to unit029
Renaming unit031 to unit030
Renaming unit032 to unit031
Finished deleting unit
----------
Saved RN17_4taste_preCTA to /data/Katz_Data/Stk11_Project/RN17/RN17_4taste_preCTA_190826_131412/RN17_4taste_preCTA_dataset.p


Removing unit 25. Only 1 spikes.
Deleting Unit...
----------
Deleting unit 25 from dataset
----------

Renaming following units...
Renaming unit026 to unit025
Renaming unit027 to unit026
Renaming unit028 to unit027
Renaming unit029 to unit028
Renaming unit030 to unit029
Renaming unit031 to unit030
Finished deleting unit
----------
Saved RN17_4taste_preCTA to /data/Katz_Data/Stk11_Project/RN17/RN17_4taste_preCTA_190826_131412/RN17_4taste_preCTA_dataset.p


Removing unit 24. Only 1 spikes.
Deleting Unit...
----------
Deleting unit 24 from dataset
----------

Renaming following units...
Renaming unit025 to unit024
Renaming unit026 to unit025
Renaming unit027 to unit026
Renaming unit028 to unit027
Renaming unit029 to unit028
Renaming unit030 to unit029
Finished deleting unit
----------
Saved RN17_4taste_preCTA to /data/Katz_Data/Stk11_Project/RN17/RN17_4taste_preCTA_190826_131412/RN17_4taste_preCTA_dataset.p


Removing unit 23. Only 1 spikes.
Deleting Unit...
----------
Deleting unit 23 from dataset
----------

Renaming following units...
Renaming unit024 to unit023
Renaming unit025 to unit024
Renaming unit026 to unit025
Renaming unit027 to unit026
Renaming unit028 to unit027
Renaming unit029 to unit028
Finished deleting unit
----------
Saved RN17_4taste_preCTA to /data/Katz_Data/Stk11_Project/RN17/RN17_4taste_preCTA_190826_131412/RN17_4taste_preCTA_dataset.p


Removing unit 15. Only 55 spikes.
Deleting Unit...
----------
Deleting unit 15 from dataset
----------

Renaming following units...
Renaming unit016 to unit015
Renaming unit017 to unit016
Renaming unit018 to unit017
Renaming unit019 to unit018
Renaming unit020 to unit019
Renaming unit021 to unit020
Renaming unit022 to unit021
Renaming unit023 to unit022
Renaming unit024 to unit023
Renaming unit025 to unit024
Renaming unit026 to unit025
Renaming unit027 to unit026
Renaming unit028 to unit027
Finished deleting unit
----------
Saved RN17_4taste_preCTA to /data/Katz_Data/Stk11_Project/RN17/RN17_4taste_preCTA_190826_131412/RN17_4taste_preCTA_dataset.p


Removing unit 6. Only 32 spikes.
Deleting Unit...
----------
Deleting unit 6 from dataset
----------

Renaming following units...
Renaming unit007 to unit006
Renaming unit008 to unit007
Renaming unit009 to unit008
Renaming unit010 to unit009
Renaming unit011 to unit010
Renaming unit012 to unit011
Renaming unit013 to unit012
Renaming unit014 to unit013
Renaming unit015 to unit014
Renaming unit016 to unit015
Renaming unit017 to unit016
Renaming unit018 to unit017
Renaming unit019 to unit018
Renaming unit020 to unit019
Renaming unit021 to unit020
Renaming unit022 to unit021
Renaming unit023 to unit022
Renaming unit024 to unit023
Renaming unit025 to unit024
Renaming unit026 to unit025
Renaming unit027 to unit026
Finished deleting unit
----------
Saved RN17_4taste_preCTA to /data/Katz_Data/Stk11_Project/RN17/RN17_4taste_preCTA_190826_131412/RN17_4taste_preCTA_dataset.p


Removing unit 3. Only 2 spikes.
Deleting Unit...
----------
Deleting unit 3 from dataset
----------

Renaming following units...
Renaming unit004 to unit003
Renaming unit005 to unit004
Renaming unit006 to unit005
Renaming unit007 to unit006
Renaming unit008 to unit007
Renaming unit009 to unit008
Renaming unit010 to unit009
Renaming unit011 to unit010
Renaming unit012 to unit011
Renaming unit013 to unit012
Renaming unit014 to unit013
Renaming unit015 to unit014
Renaming unit016 to unit015
Renaming unit017 to unit016
Renaming unit018 to unit017
Renaming unit019 to unit018
Renaming unit020 to unit019
Renaming unit021 to unit020
Renaming unit022 to unit021
Renaming unit023 to unit022
Renaming unit024 to unit023
Renaming unit025 to unit024
Renaming unit026 to unit025
Finished deleting unit
----------
Saved RN17_4taste_preCTA to /data/Katz_Data/Stk11_Project/RN17/RN17_4taste_preCTA_190826_131412/RN17_4taste_preCTA_dataset.p


Removing unit 2. Only 27 spikes.
Deleting Unit...
----------
Deleting unit 2 from dataset
----------

Renaming following units...
Renaming unit003 to unit002
Renaming unit004 to unit003
Renaming unit005 to unit004
Renaming unit006 to unit005
Renaming unit007 to unit006
Renaming unit008 to unit007
Renaming unit009 to unit008
Renaming unit010 to unit009
Renaming unit011 to unit010
Renaming unit012 to unit011
Renaming unit013 to unit012
Renaming unit014 to unit013
Renaming unit015 to unit014
Renaming unit016 to unit015
Renaming unit017 to unit016
Renaming unit018 to unit017
Renaming unit019 to unit018
Renaming unit020 to unit019
Renaming unit021 to unit020
Renaming unit022 to unit021
Renaming unit023 to unit022
Renaming unit024 to unit023
Renaming unit025 to unit024
Finished deleting unit
----------
Saved RN17_4taste_preCTA to /data/Katz_Data/Stk11_Project/RN17/RN17_4taste_preCTA_190826_131412/RN17_4taste_preCTA_dataset.p


Removing unit 0. Only 58 spikes.
Deleting Unit...
----------
Deleting unit 0 from dataset
----------

Renaming following units...
Renaming unit001 to unit000
Renaming unit002 to unit001
Renaming unit003 to unit002
Renaming unit004 to unit003
Renaming unit005 to unit004
Renaming unit006 to unit005
Renaming unit007 to unit006
Renaming unit008 to unit007
Renaming unit009 to unit008
Renaming unit010 to unit009
Renaming unit011 to unit010
Renaming unit012 to unit011
Renaming unit013 to unit012
Renaming unit014 to unit013
Renaming unit015 to unit014
Renaming unit016 to unit015
Renaming unit017 to unit016
Renaming unit018 to unit017
Renaming unit019 to unit018
Renaming unit020 to unit019
Renaming unit021 to unit020
Renaming unit022 to unit021
Renaming unit023 to unit022
Renaming unit024 to unit023
Finished deleting unit
----------
Saved RN17_4taste_preCTA to /data/Katz_Data/Stk11_Project/RN17/RN17_4taste_preCTA_190826_131412/RN17_4taste_preCTA_dataset.p


Saved RN17_4taste_preCTA to /data/Katz_Data/Stk11_Project/RN17/RN17_4taste_preCTA_190826_131412/RN17_4taste_preCTA_dataset.p

Generating unit arrays with parameters:
----------
    dig_ins_to_use    
            0,     1,     2,     3
    laser_channels    
            
    sampling_rate     30000.0
    pre_stimulus      2000
    post_stimulus     5000
    

----------
Making Unit Spike Arrays
----------


----------
Reading Trial Data Table From Store
----------
Done! Elapsed Time: 0.02


----------
Reading Trial Data Table From Store
----------
Done! Elapsed Time: 0.01

Creating spike arrays for dig_in_0...
Creating spike arrays for dig_in_1...
Creating spike arrays for dig_in_2...
Creating spike arrays for dig_in_3...
Done with spike array creation!
----------

Saved RN17_4taste_preCTA to /data/Katz_Data/Stk11_Project/RN17/RN17_4taste_preCTA_190826_131412/RN17_4taste_preCTA_dataset.p


---------
Beginning unit similarity calculation
----------
Computing similarity between Unit 0 and Unit 0
Computing similarity between Unit 0 and Unit 1
Computing similarity between Unit 0 and Unit 2
Computing similarity between Unit 0 and Unit 3
Computing similarity between Unit 0 and Unit 4
Computing similarity between Unit 0 and Unit 5
Computing similarity between Unit 0 and Unit 6
Computing similarity between Unit 0 and Unit 7
Computing similarity between Unit 0 and Unit 8
Computing similarity between Unit 0 and Unit 9
Computing similarity between Unit 0 and Unit 10
Computing similarity between Unit 0 and Unit 11
Computing similarity between Unit 0 and Unit 12
Computing similarity between Unit 0 and Unit 13
Computing similarity between Unit 0 and Unit 14
Computing similarity between Unit 0 and Unit 15
Computing similarity between Unit 0 and Unit 16
Computing similarity between Unit 0 and Unit 17
Computing similarity between Unit 0 and Unit 18
Computing similarity between Unit 0 and Unit 19
Computing similarity between Unit 0 and Unit 20
Computing similarity between Unit 0 and Unit 21
Computing similarity between Unit 0 and Unit 22
Computing similarity between Unit 0 and Unit 23
Computing similarity between Unit 1 and Unit 0
Computing similarity between Unit 1 and Unit 1
Computing similarity between Unit 1 and Unit 2
Computing similarity between Unit 1 and Unit 3
Computing similarity between Unit 1 and Unit 4
Computing similarity between Unit 1 and Unit 5
Computing similarity between Unit 1 and Unit 6
Computing similarity between Unit 1 and Unit 7
Computing similarity between Unit 1 and Unit 8
Computing similarity between Unit 1 and Unit 9
Computing similarity between Unit 1 and Unit 10
Computing similarity between Unit 1 and Unit 11
Computing similarity between Unit 1 and Unit 12
Computing similarity between Unit 1 and Unit 13
Computing similarity between Unit 1 and Unit 14
Computing similarity between Unit 1 and Unit 15
Computing similarity between Unit 1 and Unit 16
Computing similarity between Unit 1 and Unit 17
Computing similarity between Unit 1 and Unit 18
Computing similarity between Unit 1 and Unit 19
Computing similarity between Unit 1 and Unit 20
Computing similarity between Unit 1 and Unit 21
Computing similarity between Unit 1 and Unit 22
Computing similarity between Unit 1 and Unit 23
Computing similarity between Unit 2 and Unit 0
Computing similarity between Unit 2 and Unit 1
Computing similarity between Unit 2 and Unit 2
Computing similarity between Unit 2 and Unit 3
Computing similarity between Unit 2 and Unit 4
Computing similarity between Unit 2 and Unit 5
Computing similarity between Unit 2 and Unit 6
Computing similarity between Unit 2 and Unit 7
Computing similarity between Unit 2 and Unit 8
Computing similarity between Unit 2 and Unit 9
Computing similarity between Unit 2 and Unit 10
Computing similarity between Unit 2 and Unit 11
Computing similarity between Unit 2 and Unit 12
Computing similarity between Unit 2 and Unit 13
Computing similarity between Unit 2 and Unit 14
Computing similarity between Unit 2 and Unit 15
Computing similarity between Unit 2 and Unit 16
Computing similarity between Unit 2 and Unit 17
Computing similarity between Unit 2 and Unit 18
Computing similarity between Unit 2 and Unit 19
Computing similarity between Unit 2 and Unit 20
Computing similarity between Unit 2 and Unit 21
Computing similarity between Unit 2 and Unit 22
Computing similarity between Unit 2 and Unit 23
Computing similarity between Unit 3 and Unit 0
Computing similarity between Unit 3 and Unit 1
Computing similarity between Unit 3 and Unit 2
Computing similarity between Unit 3 and Unit 3
Computing similarity between Unit 3 and Unit 4
Computing similarity between Unit 3 and Unit 5
Computing similarity between Unit 3 and Unit 6
Computing similarity between Unit 3 and Unit 7
Computing similarity between Unit 3 and Unit 8
Computing similarity between Unit 3 and Unit 9
Computing similarity between Unit 3 and Unit 10
Computing similarity between Unit 3 and Unit 11
Computing similarity between Unit 3 and Unit 12
Computing similarity between Unit 3 and Unit 13
Computing similarity between Unit 3 and Unit 14
Computing similarity between Unit 3 and Unit 15
Computing similarity between Unit 3 and Unit 16
Computing similarity between Unit 3 and Unit 17
Computing similarity between Unit 3 and Unit 18
Computing similarity between Unit 3 and Unit 19
Computing similarity between Unit 3 and Unit 20
Computing similarity between Unit 3 and Unit 21
Computing similarity between Unit 3 and Unit 22
Computing similarity between Unit 3 and Unit 23
Computing similarity between Unit 4 and Unit 0
Computing similarity between Unit 4 and Unit 1
Computing similarity between Unit 4 and Unit 2
Computing similarity between Unit 4 and Unit 3
Computing similarity between Unit 4 and Unit 4
Computing similarity between Unit 4 and Unit 5
Computing similarity between Unit 4 and Unit 6
Computing similarity between Unit 4 and Unit 7
Computing similarity between Unit 4 and Unit 8
Computing similarity between Unit 4 and Unit 9
Computing similarity between Unit 4 and Unit 10
Computing similarity between Unit 4 and Unit 11
Computing similarity between Unit 4 and Unit 12
Computing similarity between Unit 4 and Unit 13
Computing similarity between Unit 4 and Unit 14
Computing similarity between Unit 4 and Unit 15
Computing similarity between Unit 4 and Unit 16
Computing similarity between Unit 4 and Unit 17
Computing similarity between Unit 4 and Unit 18
Computing similarity between Unit 4 and Unit 19
Computing similarity between Unit 4 and Unit 20
Computing similarity between Unit 4 and Unit 21
Computing similarity between Unit 4 and Unit 22
Computing similarity between Unit 4 and Unit 23
Computing similarity between Unit 5 and Unit 0
Computing similarity between Unit 5 and Unit 1
Computing similarity between Unit 5 and Unit 2
Computing similarity between Unit 5 and Unit 3
Computing similarity between Unit 5 and Unit 4
Computing similarity between Unit 5 and Unit 5
Computing similarity between Unit 5 and Unit 6
Computing similarity between Unit 5 and Unit 7
Computing similarity between Unit 5 and Unit 8
Computing similarity between Unit 5 and Unit 9
Computing similarity between Unit 5 and Unit 10
Computing similarity between Unit 5 and Unit 11
Computing similarity between Unit 5 and Unit 12
Computing similarity between Unit 5 and Unit 13
Computing similarity between Unit 5 and Unit 14
Computing similarity between Unit 5 and Unit 15
Computing similarity between Unit 5 and Unit 16
Computing similarity between Unit 5 and Unit 17
Computing similarity between Unit 5 and Unit 18
Computing similarity between Unit 5 and Unit 19
Computing similarity between Unit 5 and Unit 20
Computing similarity between Unit 5 and Unit 21
Computing similarity between Unit 5 and Unit 22
Computing similarity between Unit 5 and Unit 23
Computing similarity between Unit 6 and Unit 0
Computing similarity between Unit 6 and Unit 1
Computing similarity between Unit 6 and Unit 2
Computing similarity between Unit 6 and Unit 3
Computing similarity between Unit 6 and Unit 4
Computing similarity between Unit 6 and Unit 5
Computing similarity between Unit 6 and Unit 6
Computing similarity between Unit 6 and Unit 7
Computing similarity between Unit 6 and Unit 8
Computing similarity between Unit 6 and Unit 9
Computing similarity between Unit 6 and Unit 10
Computing similarity between Unit 6 and Unit 11
Computing similarity between Unit 6 and Unit 12
Computing similarity between Unit 6 and Unit 13
Computing similarity between Unit 6 and Unit 14
Computing similarity between Unit 6 and Unit 15
Computing similarity between Unit 6 and Unit 16
Computing similarity between Unit 6 and Unit 17
Computing similarity between Unit 6 and Unit 18
Computing similarity between Unit 6 and Unit 19
Computing similarity between Unit 6 and Unit 20
Computing similarity between Unit 6 and Unit 21
Computing similarity between Unit 6 and Unit 22
Computing similarity between Unit 6 and Unit 23
Computing similarity between Unit 7 and Unit 0
Computing similarity between Unit 7 and Unit 1
Computing similarity between Unit 7 and Unit 2
Computing similarity between Unit 7 and Unit 3
Computing similarity between Unit 7 and Unit 4
Computing similarity between Unit 7 and Unit 5
Computing similarity between Unit 7 and Unit 6
Computing similarity between Unit 7 and Unit 7
Computing similarity between Unit 7 and Unit 8
Computing similarity between Unit 7 and Unit 9
Computing similarity between Unit 7 and Unit 10
Computing similarity between Unit 7 and Unit 11
Computing similarity between Unit 7 and Unit 12
Computing similarity between Unit 7 and Unit 13
Computing similarity between Unit 7 and Unit 14
Computing similarity between Unit 7 and Unit 15
Computing similarity between Unit 7 and Unit 16
Computing similarity between Unit 7 and Unit 17
Computing similarity between Unit 7 and Unit 18
Computing similarity between Unit 7 and Unit 19
Computing similarity between Unit 7 and Unit 20
Computing similarity between Unit 7 and Unit 21
Computing similarity between Unit 7 and Unit 22
Computing similarity between Unit 7 and Unit 23
Computing similarity between Unit 8 and Unit 0
Computing similarity between Unit 8 and Unit 1
Computing similarity between Unit 8 and Unit 2
Computing similarity between Unit 8 and Unit 3
Computing similarity between Unit 8 and Unit 4
Computing similarity between Unit 8 and Unit 5
Computing similarity between Unit 8 and Unit 6
Computing similarity between Unit 8 and Unit 7
Computing similarity between Unit 8 and Unit 8
Computing similarity between Unit 8 and Unit 9
Computing similarity between Unit 8 and Unit 10
Computing similarity between Unit 8 and Unit 11
Computing similarity between Unit 8 and Unit 12
Computing similarity between Unit 8 and Unit 13
Computing similarity between Unit 8 and Unit 14
Computing similarity between Unit 8 and Unit 15
Computing similarity between Unit 8 and Unit 16
Computing similarity between Unit 8 and Unit 17
Computing similarity between Unit 8 and Unit 18
Computing similarity between Unit 8 and Unit 19
Computing similarity between Unit 8 and Unit 20
Computing similarity between Unit 8 and Unit 21
Computing similarity between Unit 8 and Unit 22
Computing similarity between Unit 8 and Unit 23
Computing similarity between Unit 9 and Unit 0
Computing similarity between Unit 9 and Unit 1
Computing similarity between Unit 9 and Unit 2
Computing similarity between Unit 9 and Unit 3
Computing similarity between Unit 9 and Unit 4
Computing similarity between Unit 9 and Unit 5
Computing similarity between Unit 9 and Unit 6
Computing similarity between Unit 9 and Unit 7
Computing similarity between Unit 9 and Unit 8
Computing similarity between Unit 9 and Unit 9
Computing similarity between Unit 9 and Unit 10
Computing similarity between Unit 9 and Unit 11
Computing similarity between Unit 9 and Unit 12
Computing similarity between Unit 9 and Unit 13
Computing similarity between Unit 9 and Unit 14
Computing similarity between Unit 9 and Unit 15
Computing similarity between Unit 9 and Unit 16
Computing similarity between Unit 9 and Unit 17
Computing similarity between Unit 9 and Unit 18
Computing similarity between Unit 9 and Unit 19
Computing similarity between Unit 9 and Unit 20
Computing similarity between Unit 9 and Unit 21
Computing similarity between Unit 9 and Unit 22
Computing similarity between Unit 9 and Unit 23
Computing similarity between Unit 10 and Unit 0
Computing similarity between Unit 10 and Unit 1
Computing similarity between Unit 10 and Unit 2
Computing similarity between Unit 10 and Unit 3
Computing similarity between Unit 10 and Unit 4
Computing similarity between Unit 10 and Unit 5
Computing similarity between Unit 10 and Unit 6
Computing similarity between Unit 10 and Unit 7
Computing similarity between Unit 10 and Unit 8
Computing similarity between Unit 10 and Unit 9
Computing similarity between Unit 10 and Unit 10
Computing similarity between Unit 10 and Unit 11
Computing similarity between Unit 10 and Unit 12
Computing similarity between Unit 10 and Unit 13
Computing similarity between Unit 10 and Unit 14
Computing similarity between Unit 10 and Unit 15
Computing similarity between Unit 10 and Unit 16
Computing similarity between Unit 10 and Unit 17
Computing similarity between Unit 10 and Unit 18
Computing similarity between Unit 10 and Unit 19
Computing similarity between Unit 10 and Unit 20
Computing similarity between Unit 10 and Unit 21
Computing similarity between Unit 10 and Unit 22
Computing similarity between Unit 10 and Unit 23
Computing similarity between Unit 11 and Unit 0
Computing similarity between Unit 11 and Unit 1
Computing similarity between Unit 11 and Unit 2
Computing similarity between Unit 11 and Unit 3
Computing similarity between Unit 11 and Unit 4
Computing similarity between Unit 11 and Unit 5
Computing similarity between Unit 11 and Unit 6
Computing similarity between Unit 11 and Unit 7
Computing similarity between Unit 11 and Unit 8
Computing similarity between Unit 11 and Unit 9
Computing similarity between Unit 11 and Unit 10
Computing similarity between Unit 11 and Unit 11
Computing similarity between Unit 11 and Unit 12
Computing similarity between Unit 11 and Unit 13
Computing similarity between Unit 11 and Unit 14
Computing similarity between Unit 11 and Unit 15
Computing similarity between Unit 11 and Unit 16
Computing similarity between Unit 11 and Unit 17
Computing similarity between Unit 11 and Unit 18
Computing similarity between Unit 11 and Unit 19
Computing similarity between Unit 11 and Unit 20
Computing similarity between Unit 11 and Unit 21
Computing similarity between Unit 11 and Unit 22
Computing similarity between Unit 11 and Unit 23
Computing similarity between Unit 12 and Unit 0
Computing similarity between Unit 12 and Unit 1
Computing similarity between Unit 12 and Unit 2
Computing similarity between Unit 12 and Unit 3
Computing similarity between Unit 12 and Unit 4
Computing similarity between Unit 12 and Unit 5
Computing similarity between Unit 12 and Unit 6
Computing similarity between Unit 12 and Unit 7
Computing similarity between Unit 12 and Unit 8
Computing similarity between Unit 12 and Unit 9
Computing similarity between Unit 12 and Unit 10
Computing similarity between Unit 12 and Unit 11
Computing similarity between Unit 12 and Unit 12
Computing similarity between Unit 12 and Unit 13
Computing similarity between Unit 12 and Unit 14
Computing similarity between Unit 12 and Unit 15
Computing similarity between Unit 12 and Unit 16
Computing similarity between Unit 12 and Unit 17
Computing similarity between Unit 12 and Unit 18
Computing similarity between Unit 12 and Unit 19
Computing similarity between Unit 12 and Unit 20
Computing similarity between Unit 12 and Unit 21
Computing similarity between Unit 12 and Unit 22
Computing similarity between Unit 12 and Unit 23
Computing similarity between Unit 13 and Unit 0
Computing similarity between Unit 13 and Unit 1
Computing similarity between Unit 13 and Unit 2
Computing similarity between Unit 13 and Unit 3
Computing similarity between Unit 13 and Unit 4
Computing similarity between Unit 13 and Unit 5
Computing similarity between Unit 13 and Unit 6
Computing similarity between Unit 13 and Unit 7
Computing similarity between Unit 13 and Unit 8
Computing similarity between Unit 13 and Unit 9
Computing similarity between Unit 13 and Unit 10
Computing similarity between Unit 13 and Unit 11
Computing similarity between Unit 13 and Unit 12
Computing similarity between Unit 13 and Unit 13
Computing similarity between Unit 13 and Unit 14
Computing similarity between Unit 13 and Unit 15
Computing similarity between Unit 13 and Unit 16
Computing similarity between Unit 13 and Unit 17
Computing similarity between Unit 13 and Unit 18
Computing similarity between Unit 13 and Unit 19
Computing similarity between Unit 13 and Unit 20
Computing similarity between Unit 13 and Unit 21
Computing similarity between Unit 13 and Unit 22
Computing similarity between Unit 13 and Unit 23
Computing similarity between Unit 14 and Unit 0
Computing similarity between Unit 14 and Unit 1
Computing similarity between Unit 14 and Unit 2
Computing similarity between Unit 14 and Unit 3
Computing similarity between Unit 14 and Unit 4
Computing similarity between Unit 14 and Unit 5
Computing similarity between Unit 14 and Unit 6
Computing similarity between Unit 14 and Unit 7
Computing similarity between Unit 14 and Unit 8
Computing similarity between Unit 14 and Unit 9
Computing similarity between Unit 14 and Unit 10
Computing similarity between Unit 14 and Unit 11
Computing similarity between Unit 14 and Unit 12
Computing similarity between Unit 14 and Unit 13
Computing similarity between Unit 14 and Unit 14
Computing similarity between Unit 14 and Unit 15
Computing similarity between Unit 14 and Unit 16
Computing similarity between Unit 14 and Unit 17
Computing similarity between Unit 14 and Unit 18
Computing similarity between Unit 14 and Unit 19
Computing similarity between Unit 14 and Unit 20
Computing similarity between Unit 14 and Unit 21
Computing similarity between Unit 14 and Unit 22
Computing similarity between Unit 14 and Unit 23
Computing similarity between Unit 15 and Unit 0
Computing similarity between Unit 15 and Unit 1
Computing similarity between Unit 15 and Unit 2
Computing similarity between Unit 15 and Unit 3
Computing similarity between Unit 15 and Unit 4
Computing similarity between Unit 15 and Unit 5
Computing similarity between Unit 15 and Unit 6
Computing similarity between Unit 15 and Unit 7
Computing similarity between Unit 15 and Unit 8
Computing similarity between Unit 15 and Unit 9
Computing similarity between Unit 15 and Unit 10
Computing similarity between Unit 15 and Unit 11
Computing similarity between Unit 15 and Unit 12
Computing similarity between Unit 15 and Unit 13
Computing similarity between Unit 15 and Unit 14
Computing similarity between Unit 15 and Unit 15
Computing similarity between Unit 15 and Unit 16
Computing similarity between Unit 15 and Unit 17
Computing similarity between Unit 15 and Unit 18
Computing similarity between Unit 15 and Unit 19
Computing similarity between Unit 15 and Unit 20
Computing similarity between Unit 15 and Unit 21
Computing similarity between Unit 15 and Unit 22
Computing similarity between Unit 15 and Unit 23
Computing similarity between Unit 16 and Unit 0
Computing similarity between Unit 16 and Unit 1
Computing similarity between Unit 16 and Unit 2
Computing similarity between Unit 16 and Unit 3
Computing similarity between Unit 16 and Unit 4
Computing similarity between Unit 16 and Unit 5
Computing similarity between Unit 16 and Unit 6
Computing similarity between Unit 16 and Unit 7
Computing similarity between Unit 16 and Unit 8
Computing similarity between Unit 16 and Unit 9
Computing similarity between Unit 16 and Unit 10
Computing similarity between Unit 16 and Unit 11
Computing similarity between Unit 16 and Unit 12
Computing similarity between Unit 16 and Unit 13
Computing similarity between Unit 16 and Unit 14
Computing similarity between Unit 16 and Unit 15
Computing similarity between Unit 16 and Unit 16
Computing similarity between Unit 16 and Unit 17
Computing similarity between Unit 16 and Unit 18
Computing similarity between Unit 16 and Unit 19
Computing similarity between Unit 16 and Unit 20
Computing similarity between Unit 16 and Unit 21
Computing similarity between Unit 16 and Unit 22
Computing similarity between Unit 16 and Unit 23
Computing similarity between Unit 17 and Unit 0
Computing similarity between Unit 17 and Unit 1
Computing similarity between Unit 17 and Unit 2
Computing similarity between Unit 17 and Unit 3
Computing similarity between Unit 17 and Unit 4
Computing similarity between Unit 17 and Unit 5
Computing similarity between Unit 17 and Unit 6
Computing similarity between Unit 17 and Unit 7
Computing similarity between Unit 17 and Unit 8
Computing similarity between Unit 17 and Unit 9
Computing similarity between Unit 17 and Unit 10
Computing similarity between Unit 17 and Unit 11
Computing similarity between Unit 17 and Unit 12
Computing similarity between Unit 17 and Unit 13
Computing similarity between Unit 17 and Unit 14
Computing similarity between Unit 17 and Unit 15
Computing similarity between Unit 17 and Unit 16
Computing similarity between Unit 17 and Unit 17
Computing similarity between Unit 17 and Unit 18
Computing similarity between Unit 17 and Unit 19
Computing similarity between Unit 17 and Unit 20
Computing similarity between Unit 17 and Unit 21
Computing similarity between Unit 17 and Unit 22
Computing similarity between Unit 17 and Unit 23
Computing similarity between Unit 18 and Unit 0
Computing similarity between Unit 18 and Unit 1
Computing similarity between Unit 18 and Unit 2
Computing similarity between Unit 18 and Unit 3
Computing similarity between Unit 18 and Unit 4
Computing similarity between Unit 18 and Unit 5
Computing similarity between Unit 18 and Unit 6
Computing similarity between Unit 18 and Unit 7
Computing similarity between Unit 18 and Unit 8
Computing similarity between Unit 18 and Unit 9
Computing similarity between Unit 18 and Unit 10
Computing similarity between Unit 18 and Unit 11
Computing similarity between Unit 18 and Unit 12
Computing similarity between Unit 18 and Unit 13
Computing similarity between Unit 18 and Unit 14
Computing similarity between Unit 18 and Unit 15
Computing similarity between Unit 18 and Unit 16
Computing similarity between Unit 18 and Unit 17
Computing similarity between Unit 18 and Unit 18
Computing similarity between Unit 18 and Unit 19
Computing similarity between Unit 18 and Unit 20
Computing similarity between Unit 18 and Unit 21
Computing similarity between Unit 18 and Unit 22
Computing similarity between Unit 18 and Unit 23
Computing similarity between Unit 19 and Unit 0
Computing similarity between Unit 19 and Unit 1
Computing similarity between Unit 19 and Unit 2
Computing similarity between Unit 19 and Unit 3
Computing similarity between Unit 19 and Unit 4
Computing similarity between Unit 19 and Unit 5
Computing similarity between Unit 19 and Unit 6
Computing similarity between Unit 19 and Unit 7
Computing similarity between Unit 19 and Unit 8
Computing similarity between Unit 19 and Unit 9
Computing similarity between Unit 19 and Unit 10
Computing similarity between Unit 19 and Unit 11
Computing similarity between Unit 19 and Unit 12
Computing similarity between Unit 19 and Unit 13
Computing similarity between Unit 19 and Unit 14
Computing similarity between Unit 19 and Unit 15
Computing similarity between Unit 19 and Unit 16
Computing similarity between Unit 19 and Unit 17
Computing similarity between Unit 19 and Unit 18
Computing similarity between Unit 19 and Unit 19
Computing similarity between Unit 19 and Unit 20
Computing similarity between Unit 19 and Unit 21
Computing similarity between Unit 19 and Unit 22
Computing similarity between Unit 19 and Unit 23
Computing similarity between Unit 20 and Unit 0
Computing similarity between Unit 20 and Unit 1
Computing similarity between Unit 20 and Unit 2
Computing similarity between Unit 20 and Unit 3
Computing similarity between Unit 20 and Unit 4
Computing similarity between Unit 20 and Unit 5
Computing similarity between Unit 20 and Unit 6
Computing similarity between Unit 20 and Unit 7
Computing similarity between Unit 20 and Unit 8
Computing similarity between Unit 20 and Unit 9
Computing similarity between Unit 20 and Unit 10
Computing similarity between Unit 20 and Unit 11
Computing similarity between Unit 20 and Unit 12
Computing similarity between Unit 20 and Unit 13
Computing similarity between Unit 20 and Unit 14
Computing similarity between Unit 20 and Unit 15
Computing similarity between Unit 20 and Unit 16
Computing similarity between Unit 20 and Unit 17
Computing similarity between Unit 20 and Unit 18
Computing similarity between Unit 20 and Unit 19
Computing similarity between Unit 20 and Unit 20
Computing similarity between Unit 20 and Unit 21
Computing similarity between Unit 20 and Unit 22
Computing similarity between Unit 20 and Unit 23
Computing similarity between Unit 21 and Unit 0
Computing similarity between Unit 21 and Unit 1
Computing similarity between Unit 21 and Unit 2
Computing similarity between Unit 21 and Unit 3
Computing similarity between Unit 21 and Unit 4
Computing similarity between Unit 21 and Unit 5
Computing similarity between Unit 21 and Unit 6
Computing similarity between Unit 21 and Unit 7
Computing similarity between Unit 21 and Unit 8
Computing similarity between Unit 21 and Unit 9
Computing similarity between Unit 21 and Unit 10
Computing similarity between Unit 21 and Unit 11
Computing similarity between Unit 21 and Unit 12
Computing similarity between Unit 21 and Unit 13
Computing similarity between Unit 21 and Unit 14
Computing similarity between Unit 21 and Unit 15
Computing similarity between Unit 21 and Unit 16
Computing similarity between Unit 21 and Unit 17
Computing similarity between Unit 21 and Unit 18
Computing similarity between Unit 21 and Unit 19
Computing similarity between Unit 21 and Unit 20
Computing similarity between Unit 21 and Unit 21
Computing similarity between Unit 21 and Unit 22
Computing similarity between Unit 21 and Unit 23
Computing similarity between Unit 22 and Unit 0
Computing similarity between Unit 22 and Unit 1
Computing similarity between Unit 22 and Unit 2
Computing similarity between Unit 22 and Unit 3
Computing similarity between Unit 22 and Unit 4
Computing similarity between Unit 22 and Unit 5
Computing similarity between Unit 22 and Unit 6
Computing similarity between Unit 22 and Unit 7
Computing similarity between Unit 22 and Unit 8
Computing similarity between Unit 22 and Unit 9
Computing similarity between Unit 22 and Unit 10
Computing similarity between Unit 22 and Unit 11
Computing similarity between Unit 22 and Unit 12
Computing similarity between Unit 22 and Unit 13
Computing similarity between Unit 22 and Unit 14
Computing similarity between Unit 22 and Unit 15
Computing similarity between Unit 22 and Unit 16
Computing similarity between Unit 22 and Unit 17
Computing similarity between Unit 22 and Unit 18
Computing similarity between Unit 22 and Unit 19
Computing similarity between Unit 22 and Unit 20
Computing similarity between Unit 22 and Unit 21
Computing similarity between Unit 22 and Unit 22
Computing similarity between Unit 22 and Unit 23
Computing similarity between Unit 23 and Unit 0
Computing similarity between Unit 23 and Unit 1
Computing similarity between Unit 23 and Unit 2
Computing similarity between Unit 23 and Unit 3
Computing similarity between Unit 23 and Unit 4
Computing similarity between Unit 23 and Unit 5
Computing similarity between Unit 23 and Unit 6
Computing similarity between Unit 23 and Unit 7
Computing similarity between Unit 23 and Unit 8
Computing similarity between Unit 23 and Unit 9
Computing similarity between Unit 23 and Unit 10
Computing similarity between Unit 23 and Unit 11
Computing similarity between Unit 23 and Unit 12
Computing similarity between Unit 23 and Unit 13
Computing similarity between Unit 23 and Unit 14
Computing similarity between Unit 23 and Unit 15
Computing similarity between Unit 23 and Unit 16
Computing similarity between Unit 23 and Unit 17
Computing similarity between Unit 23 and Unit 18
Computing similarity between Unit 23 and Unit 19
Computing similarity between Unit 23 and Unit 20
Computing similarity between Unit 23 and Unit 21
Computing similarity between Unit 23 and Unit 22
Computing similarity between Unit 23 and Unit 23

Similarity calculation done!
No unit similarity violations found!
Saved RN17_4taste_preCTA to /data/Katz_Data/Stk11_Project/RN17/RN17_4taste_preCTA_190826_131412/RN17_4taste_preCTA_dataset.p


Running Blech Clust
-------------------
Parameters
file_dir             /data/Katz_Data/Stk11_Project/RN17/RN17_4taste_preCTA_190826_131412
data_quality         clean
sampling_rate        30000.0
clustering_params    
    Max Number of Clusters      11
    Max Number of Iterations    1000
    Convergence Criterion       0.001
    GMM random restarts         10
    
data_params          
    V_cutoff for disconnected headstage     1500
    Max rate of cutoff breach per second    0.2
    Max allowed seconds with a breach       10
    Max allowed breaches per second         20
    Intra-cluster waveform amp SD cutoff    3
    
bandpass_params      
    Lower freq cutoff    300
    Upper freq cutoff    3000
    
spike_snapshot       
    Time before spike (ms)    0.5
    Time after spike (ms)     1
    


Running Blech Clust
-------------------
Parameters
file_dir             /data/Katz_Data/Stk11_Project/RN17/RN17_4taste_preCTA_190826_131412
data_quality         clean
sampling_rate        30000.0
clustering_params    
    Max Number of Clusters      11
    Max Number of Iterations    1000
    Convergence Criterion       0.001
    GMM random restarts         10
    
data_params          
    V_cutoff for disconnected headstage     1500
    Max rate of cutoff breach per second    0.2
    Max allowed seconds with a breach       10
    Max allowed breaches per second         20
    Intra-cluster waveform amp SD cutoff    3
    
bandpass_params      
    Lower freq cutoff    300
    Upper freq cutoff    3000
    
spike_snapshot       
    Time before spike (ms)    0.5
    Time after spike (ms)     1
    

Writing electrode_map to /data/Katz_Data/Stk11_Project/RN17/RN17_4taste_preCTA_190826_131412/RN17_4taste_preCTA.h5...
Saved RN17_4taste_preCTA to /data/Katz_Data/Stk11_Project/RN17/RN17_4taste_preCTA_190826_131412/RN17_4taste_preCTA_dataset.p

Clustering Complete
------------------

----------
Deleting unit 23 from dataset
----------

Renaming following units...
Correcting names of plots and metrics...
Finished deleting unit
----------
Saved RN17_4taste_preCTA to /data/Katz_Data/Stk11_Project/RN17/RN17_4taste_preCTA_190826_131412/RN17_4taste_preCTA_dataset.p


----------
Deleting unit 22 from dataset
----------

Renaming following units...
Correcting names of plots and metrics...
Finished deleting unit
----------
Saved RN17_4taste_preCTA to /data/Katz_Data/Stk11_Project/RN17/RN17_4taste_preCTA_190826_131412/RN17_4taste_preCTA_dataset.p


----------
Deleting unit 21 from dataset
----------

Renaming following units...
Correcting names of plots and metrics...
Finished deleting unit
----------
Saved RN17_4taste_preCTA to /data/Katz_Data/Stk11_Project/RN17/RN17_4taste_preCTA_190826_131412/RN17_4taste_preCTA_dataset.p


----------
Deleting unit 20 from dataset
----------

Renaming following units...
Correcting names of plots and metrics...
Finished deleting unit
----------
Saved RN17_4taste_preCTA to /data/Katz_Data/Stk11_Project/RN17/RN17_4taste_preCTA_190826_131412/RN17_4taste_preCTA_dataset.p


----------
Deleting unit 19 from dataset
----------

Renaming following units...
Correcting names of plots and metrics...
Finished deleting unit
----------
Saved RN17_4taste_preCTA to /data/Katz_Data/Stk11_Project/RN17/RN17_4taste_preCTA_190826_131412/RN17_4taste_preCTA_dataset.p


----------
Deleting unit 18 from dataset
----------

Renaming following units...
Correcting names of plots and metrics...
Finished deleting unit
----------
Saved RN17_4taste_preCTA to /data/Katz_Data/Stk11_Project/RN17/RN17_4taste_preCTA_190826_131412/RN17_4taste_preCTA_dataset.p


----------
Deleting unit 17 from dataset
----------

Renaming following units...
Correcting names of plots and metrics...
Finished deleting unit
----------
Saved RN17_4taste_preCTA to /data/Katz_Data/Stk11_Project/RN17/RN17_4taste_preCTA_190826_131412/RN17_4taste_preCTA_dataset.p


----------
Deleting unit 16 from dataset
----------

Renaming following units...
Correcting names of plots and metrics...
Finished deleting unit
----------
Saved RN17_4taste_preCTA to /data/Katz_Data/Stk11_Project/RN17/RN17_4taste_preCTA_190826_131412/RN17_4taste_preCTA_dataset.p


----------
Deleting unit 15 from dataset
----------

Renaming following units...
Correcting names of plots and metrics...
Finished deleting unit
----------
Saved RN17_4taste_preCTA to /data/Katz_Data/Stk11_Project/RN17/RN17_4taste_preCTA_190826_131412/RN17_4taste_preCTA_dataset.p


----------
Deleting unit 14 from dataset
----------

Renaming following units...
Correcting names of plots and metrics...
Finished deleting unit
----------
Saved RN17_4taste_preCTA to /data/Katz_Data/Stk11_Project/RN17/RN17_4taste_preCTA_190826_131412/RN17_4taste_preCTA_dataset.p


----------
Deleting unit 13 from dataset
----------

Renaming following units...
Correcting names of plots and metrics...
Finished deleting unit
----------
Saved RN17_4taste_preCTA to /data/Katz_Data/Stk11_Project/RN17/RN17_4taste_preCTA_190826_131412/RN17_4taste_preCTA_dataset.p


----------
Deleting unit 12 from dataset
----------

Renaming following units...
Correcting names of plots and metrics...
Finished deleting unit
----------
Saved RN17_4taste_preCTA to /data/Katz_Data/Stk11_Project/RN17/RN17_4taste_preCTA_190826_131412/RN17_4taste_preCTA_dataset.p


----------
Deleting unit 11 from dataset
----------

Renaming following units...
Correcting names of plots and metrics...
Finished deleting unit
----------
Saved RN17_4taste_preCTA to /data/Katz_Data/Stk11_Project/RN17/RN17_4taste_preCTA_190826_131412/RN17_4taste_preCTA_dataset.p


----------
Deleting unit 10 from dataset
----------

Renaming following units...
Correcting names of plots and metrics...
Finished deleting unit
----------
Saved RN17_4taste_preCTA to /data/Katz_Data/Stk11_Project/RN17/RN17_4taste_preCTA_190826_131412/RN17_4taste_preCTA_dataset.p


----------
Deleting unit 9 from dataset
----------

Renaming following units...
Correcting names of plots and metrics...
Finished deleting unit
----------
Saved RN17_4taste_preCTA to /data/Katz_Data/Stk11_Project/RN17/RN17_4taste_preCTA_190826_131412/RN17_4taste_preCTA_dataset.p


----------
Deleting unit 8 from dataset
----------

Renaming following units...
Correcting names of plots and metrics...
Finished deleting unit
----------
Saved RN17_4taste_preCTA to /data/Katz_Data/Stk11_Project/RN17/RN17_4taste_preCTA_190826_131412/RN17_4taste_preCTA_dataset.p


----------
Deleting unit 7 from dataset
----------

Renaming following units...
Correcting names of plots and metrics...
Finished deleting unit
----------
Saved RN17_4taste_preCTA to /data/Katz_Data/Stk11_Project/RN17/RN17_4taste_preCTA_190826_131412/RN17_4taste_preCTA_dataset.p


----------
Deleting unit 6 from dataset
----------

Renaming following units...
Correcting names of plots and metrics...
Finished deleting unit
----------
Saved RN17_4taste_preCTA to /data/Katz_Data/Stk11_Project/RN17/RN17_4taste_preCTA_190826_131412/RN17_4taste_preCTA_dataset.p


----------
Deleting unit 5 from dataset
----------

Renaming following units...
Correcting names of plots and metrics...
Finished deleting unit
----------
Saved RN17_4taste_preCTA to /data/Katz_Data/Stk11_Project/RN17/RN17_4taste_preCTA_190826_131412/RN17_4taste_preCTA_dataset.p


----------
Deleting unit 4 from dataset
----------

Renaming following units...
Correcting names of plots and metrics...
Finished deleting unit
----------
Saved RN17_4taste_preCTA to /data/Katz_Data/Stk11_Project/RN17/RN17_4taste_preCTA_190826_131412/RN17_4taste_preCTA_dataset.p


----------
Deleting unit 3 from dataset
----------

Renaming following units...
Correcting names of plots and metrics...
Finished deleting unit
----------
Saved RN17_4taste_preCTA to /data/Katz_Data/Stk11_Project/RN17/RN17_4taste_preCTA_190826_131412/RN17_4taste_preCTA_dataset.p


----------
Deleting unit 2 from dataset
----------

Renaming following units...
Correcting names of plots and metrics...
Finished deleting unit
----------
Saved RN17_4taste_preCTA to /data/Katz_Data/Stk11_Project/RN17/RN17_4taste_preCTA_190826_131412/RN17_4taste_preCTA_dataset.p


----------
Deleting unit 1 from dataset
----------

Renaming following units...
Correcting names of plots and metrics...
Finished deleting unit
----------
Saved RN17_4taste_preCTA to /data/Katz_Data/Stk11_Project/RN17/RN17_4taste_preCTA_190826_131412/RN17_4taste_preCTA_dataset.p


----------
Deleting unit 0 from dataset
----------

Renaming following units...
Correcting names of plots and metrics...
Finished deleting unit
----------
Saved RN17_4taste_preCTA to /data/Katz_Data/Stk11_Project/RN17/RN17_4taste_preCTA_190826_131412/RN17_4taste_preCTA_dataset.p


Running Blech Clust
-------------------
Parameters
file_dir             /data/Katz_Data/Stk11_Project/RN17/RN17_4taste_preCTA_190826_131412
data_quality         clean
sampling_rate        30000.0
clustering_params    
    Max Number of Clusters      11
    Max Number of Iterations    1000
    Convergence Criterion       0.001
    GMM random restarts         10
    
data_params          
    V_cutoff for disconnected headstage     1500
    Max rate of cutoff breach per second    0.2
    Max allowed seconds with a breach       10
    Max allowed breaches per second         20
    Intra-cluster waveform amp SD cutoff    3
    
bandpass_params      
    Lower freq cutoff    300
    Upper freq cutoff    3000
    
spike_snapshot       
    Time before spike (ms)    0.5
    Time after spike (ms)     1
    

Writing electrode_map to /data/Katz_Data/Stk11_Project/RN17/RN17_4taste_preCTA_190826_131412/RN17_4taste_preCTA.h5...
Saved RN17_4taste_preCTA to /data/Katz_Data/Stk11_Project/RN17/RN17_4taste_preCTA_190826_131412/RN17_4taste_preCTA_dataset.p

Clustering Complete
------------------

----------
Clustering Cleanup
----------
Done! Elapsed Time: 0.02

Saved RN17_4taste_preCTA to /data/Katz_Data/Stk11_Project/RN17/RN17_4taste_preCTA_190826_131412/RN17_4taste_preCTA_dataset.p


---------
Beginning unit similarity calculation
----------
Computing similarity between Unit 0 and Unit 0
Computing similarity between Unit 0 and Unit 1
Computing similarity between Unit 0 and Unit 2
Computing similarity between Unit 0 and Unit 3
Computing similarity between Unit 0 and Unit 4
Computing similarity between Unit 0 and Unit 5
Computing similarity between Unit 0 and Unit 6
Computing similarity between Unit 0 and Unit 7
Computing similarity between Unit 0 and Unit 8
Computing similarity between Unit 1 and Unit 0
Computing similarity between Unit 1 and Unit 1
Computing similarity between Unit 1 and Unit 2
Computing similarity between Unit 1 and Unit 3
Computing similarity between Unit 1 and Unit 4
Computing similarity between Unit 1 and Unit 5
Computing similarity between Unit 1 and Unit 6
Computing similarity between Unit 1 and Unit 7
Computing similarity between Unit 1 and Unit 8
Computing similarity between Unit 2 and Unit 0
Computing similarity between Unit 2 and Unit 1
Computing similarity between Unit 2 and Unit 2
Computing similarity between Unit 2 and Unit 3
Computing similarity between Unit 2 and Unit 4
Computing similarity between Unit 2 and Unit 5
Computing similarity between Unit 2 and Unit 6
Computing similarity between Unit 2 and Unit 7
Computing similarity between Unit 2 and Unit 8
Computing similarity between Unit 3 and Unit 0
Computing similarity between Unit 3 and Unit 1
Computing similarity between Unit 3 and Unit 2
Computing similarity between Unit 3 and Unit 3
Computing similarity between Unit 3 and Unit 4
Computing similarity between Unit 3 and Unit 5
Computing similarity between Unit 3 and Unit 6
Computing similarity between Unit 3 and Unit 7
Computing similarity between Unit 3 and Unit 8
Computing similarity between Unit 4 and Unit 0
Computing similarity between Unit 4 and Unit 1
Computing similarity between Unit 4 and Unit 2
Computing similarity between Unit 4 and Unit 3
Computing similarity between Unit 4 and Unit 4
Computing similarity between Unit 4 and Unit 5
Computing similarity between Unit 4 and Unit 6
Computing similarity between Unit 4 and Unit 7
Computing similarity between Unit 4 and Unit 8
Computing similarity between Unit 5 and Unit 0
Computing similarity between Unit 5 and Unit 1
Computing similarity between Unit 5 and Unit 2
Computing similarity between Unit 5 and Unit 3
Computing similarity between Unit 5 and Unit 4
Computing similarity between Unit 5 and Unit 5
Computing similarity between Unit 5 and Unit 6
Computing similarity between Unit 5 and Unit 7
Computing similarity between Unit 5 and Unit 8
Computing similarity between Unit 6 and Unit 0
Computing similarity between Unit 6 and Unit 1
Computing similarity between Unit 6 and Unit 2
Computing similarity between Unit 6 and Unit 3
Computing similarity between Unit 6 and Unit 4
Computing similarity between Unit 6 and Unit 5
Computing similarity between Unit 6 and Unit 6
Computing similarity between Unit 6 and Unit 7
Computing similarity between Unit 6 and Unit 8
Computing similarity between Unit 7 and Unit 0
Computing similarity between Unit 7 and Unit 1
Computing similarity between Unit 7 and Unit 2
Computing similarity between Unit 7 and Unit 3
Computing similarity between Unit 7 and Unit 4
Computing similarity between Unit 7 and Unit 5
Computing similarity between Unit 7 and Unit 6
Computing similarity between Unit 7 and Unit 7
Computing similarity between Unit 7 and Unit 8
Computing similarity between Unit 8 and Unit 0
Computing similarity between Unit 8 and Unit 1
Computing similarity between Unit 8 and Unit 2
Computing similarity between Unit 8 and Unit 3
Computing similarity between Unit 8 and Unit 4
Computing similarity between Unit 8 and Unit 5
Computing similarity between Unit 8 and Unit 6
Computing similarity between Unit 8 and Unit 7
Computing similarity between Unit 8 and Unit 8

Similarity calculation done!
No unit similarity violations found!
Saved RN17_4taste_preCTA to /data/Katz_Data/Stk11_Project/RN17/RN17_4taste_preCTA_190826_131412/RN17_4taste_preCTA_dataset.p

Generating unit arrays with parameters:
----------
    dig_ins_to_use    
            0,     1,     2,     3
    laser_channels    
            
    sampling_rate     30000.0
    pre_stimulus      2000
    post_stimulus     5000
    

----------
Making Unit Spike Arrays
----------


----------
Reading Trial Data Table From Store
----------
Done! Elapsed Time: 0.01


----------
Reading Trial Data Table From Store
----------
Done! Elapsed Time: 0.01

Creating spike arrays for dig_in_0...
Creating spike arrays for dig_in_1...
Creating spike arrays for dig_in_2...
Creating spike arrays for dig_in_3...
Done with spike array creation!
----------

Saved RN17_4taste_preCTA to /data/Katz_Data/Stk11_Project/RN17/RN17_4taste_preCTA_190826_131412/RN17_4taste_preCTA_dataset.p

Saved RN17_4taste_preCTA to /data/Katz_Data/Stk11_Project/RN17/RN17_4taste_preCTA_190826_131412/RN17_4taste_preCTA_dataset.p

